package com.woniuxy.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 考核指标、考核项中间表
 * </p>
 *
 * @author woniuxy
 * @since 2022-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ItemIndi对象", description="考核指标、考核项中间表")
public class ItemIndi implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "indi_id", type = IdType.ASSIGN_ID)
    private Long indiId;

    @ApiModelProperty(value = "考核项id")
    private Long itemId;

    @TableField(exist = false)
    private AssessmentIndicators assessmentIndicators;
}
